"""aircos URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/1.11/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  url(r'^$', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  url(r'^$', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.conf.urls import url, include
    2. Add a URL to urlpatterns:  url(r'^blog/', include('blog.urls'))
"""
from django.conf.urls import url
from website.views import view_hello
from website.views import view_store
from website.views import view_sku
from website.views import view_order
# from django.contrib import admin

urlpatterns = [
    url(r'^$', view_hello.hello,name='home'),
    url(r'^store/get_count/$', view_store.get_count,name='get_count'),
    url(r'^store/get_list/$', view_store.get_list,name='get_list'),
    url(r'^store/get/$', view_store.get,name='get'),
    url(r'^store/set_last_get_order_at/$', view_store.set_last_get_order_at,name='set_last_get_order_at'),

    url(r'^order/add/$', view_order.add, name='add'),
    url(r'^order/set_mark/$', view_order.set_mark, name='set_mark'),
    url(r'^order/get_detail/$', view_order.get_detail, name='get_detail'),


    url(r'^sku/get_count/$',view_sku.get_count, name='get_count'),
    url(r'^sku/lock_count/$',view_sku.lock_count, name='lock_count'),

    url(r'^activity/get_activity/$',view_sku.lock_count, name='lock_count'),

]
